package com.zbw.system.service;

import com.zbw.system.domain.RoleDO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 角色
 * 
 * @author zbw
 * @email 2045403978@qq.com
 * @date 2024-06-29 11:30:19
 */
@Service
public interface RoleService {

	RoleDO get(Long id);

	List<RoleDO> list();

	int save(RoleDO role);

	int update(RoleDO role);

	int remove(Long id);

	List<RoleDO> list(Long userId);

	int batchremove(Long[] ids);
}
